package cn.xt.service.house;

import cn.xt.bean.Fimg;
import cn.xt.dao.house.FimgDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author shkstart
 * @date 2018/11/21-10:03
 */
@Service("fimgService")
public class FimgServiceImp implements FimgService {
    @Autowired
    private FimgDao fimgDao;

    @Override
    public int addFimg(Fimg fimg) {
        return fimgDao.addFimg(fimg);
    }

    @Override
    public int MaxFimgId() {
        return fimgDao.MaxFimgId();
    }

    @Override
    public Fimg listFimg(int house_id) {
        return fimgDao.listFimg(house_id);
    }
}
